<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Student</title>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>

<body>
<table width="200" border="2" bordercolor="#FFFFFF">
  <tr>
    <td colspan="2"><div align="center"><img src="/media/banner_2.jpg" alt="baner" width="1280" height="158" /></div><br><br><br>
  </tr>
  <tr>
	<td>
	 {% if errors %}
       		 	<center>
            		{% for error in errors %}
            		<p style="color: red;">{{ error }}</p>
            		{% endfor %}
        		</center>
		{% endif %}
	<table width = 950 border="0" cellspacing="1" cellpadding="1" align="center">
                    <tbody><tr bgcolor="D4D0C8"> 
                      <td colspan="9"> 
                        <div align="center"><b>DETAIL STUDENTS</b></div>
                      </td>
                    </tr>
                    <tr bgcolor="D4D0C8"> 
                      <td width=60> 
                        <div align="center">Section</div>
                      </td>
                      <td width=350> 
                        <div align="center">ID</div>
                      </td>
                      <td width=400> 
                        <div align="center">Name</div>
                      </td>
                      <td width=150> 
                        <div align="center">Grade</div>
                      </td>                     
                    </tr>
                   <tr>
                 {% for STUDENT in STUDENT%}
	             <tr bgcolor="D4D0C8"> 
                      <td width=60> 
                           <div align="center">{{STUDENT.section}}</div>
                      </td>
                      <td width=350> 
                        <div align="center">{{STUDENT.studentID}}</div>
                      </td>
                      <td width=400> 
                        <div align="center">{{STUDENT.firstName}} {{STUDENT.lastName}} </div>
                      </td>
                      <td width=150> 
                        <div align="center">{{STUDENT.gradeScore}}</div>
                      </td>
                    </tr>
		
		{% if not forloop.last %}
		{% endif %}
		
		{% endfor %}
		</table>
	</td>
  </tr>
  <tr>
	<td>
	<center><form action="http://{{ URL }}/student_form" method="get">                  
        	<input type="submit" value="BACK">
	</form></center>
	</td>
   </tr>
</table>
<div align="center"></div>
<p>&nbsp;</p>
</body>
</html>
